﻿using System.Web;
using System.Diagnostics;

namespace MvcShop.MVC.Handlers
{
    public abstract class BaseHandler:IHttpHandler
    {

        #region IHttpHandler 成员

        public bool IsReusable
        {
            [DebuggerStepThrough]
            get
            {
                return false;
            }
        }

        public void ProcessRequest(HttpContext context)
        {
            ProcessRequest(new HttpContextWrapper(context));
        }

        public abstract void ProcessRequest(HttpContextBase context);

        #endregion
    }
}
